package news;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;


//spring项目的启动类，启动时就会对启动类所在包的下面进行扫描
@SpringBootApplication
@MapperScan("news.dao")
public class NewsApplication {

	public static void main(String[] args) {
		SpringApplication.run(NewsApplication.class, args);
	}

}
